package com.netpace.iem.umair.dal;

import java.sql.PreparedStatement;
import java.sql.Statement;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;

public class MySqlDatabase implements ISqlDatabase {
	private Connection conn;
	private Statement stmnt;
	private PreparedStatement prStmnt;
	private ResultSet resultSet;
	
	public MySqlDatabase() throws SQLException {
		conn = DBUtil.getConnection(DBTYPE.MYSQL);
	}
	
	public void closeConnection() throws SQLException {
		conn.close();
	}

	@Override
	public void insert(String query) {
		
	}

	@Override
	public void update(String query) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void delete(String query) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public ResultSet select(String query) {
		
		return resultSet;
	}

}
